{
  "targets": [{
    "target_name": "pty",
    "include_dirs": [
      "<!@(node -p \"require('node-addon-api').include\")",
      "/opt/homebrew/include",
      "/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/v1"
    ],
    "libraries": [
      "/opt/homebrew/lib/libstdc++.dylib"
    ],
    "sources": [ "src/unix/pty.cc" ],
    "conditions": [
      ['OS=="mac"', {
        "xcode_settings": {
          "GCC_ENABLE_CPP_EXCEPTIONS": "YES",
          "CLANG_ENABLE_OBJC_ARC": "YES",
          "OTHER_CFLAGS": [ "-std=c++17" ]
        }
      }]
    ]
  }]
} 